package bg.ittalents.homework.airport;

public class Airport {
	
	private Dispatcher dispatcher;
	
	public Airport(Dispatcher dispatcher){
		
		if(dispatcher==null){
			throw new IllegalArgumentException();
		}
		
		this.dispatcher=dispatcher;
	}
	
	public void executeSchedule(){
		dispatcher.executeSchedule();
	}
}
